Client can always use carrot on a stick, ignoring pig's food state
The bug
The client can always use the carrot on a stick even if the pig cannot eat more from the carrot. The condition for the client to use a carrot on a stick is that the durability after the use has to be >= 0. However the server only allows the use of a carrot on a stick if the pig can eat again.
How to reproduce
- Take a carrot on a stick and ride a pig
- Hold right-click
- Open your inventory and move the carrot on a stick
The damage should update and show the correct value
Linked Issues
is duplicated by3
Created Issue:
Client can always use carrot on a stick ignoring pig food state
The bug
The client can always use the carrot on a stick even if the pig cannot eat more from the carrot. The condition for the client to use a carrot on a stick is that the durability after the use has to be >= 0. However the server only allows the use of a carrot on a stick if the pig can eat again.
How to reproduce
- Take a carrot on a stick and ride a pig
- Hold right-click
- Open your inventory and move the carrot on a stick
The damage should update and show the correct value
Added Affects Versions: 15w43c
Added Affects Versions: 15w44a
Changed Summary:
Client can always use carrot on a stick ignoring pig's food state
Added Affects Versions: 15w44b
Changed Summary:
Client can always uses carrot on a stick ignoring pig's food state
Added Affects Versions: 15w46a
Changed Summary:
Client can always usescarrot on a stick ignoring pig's food state
Changed Summary:
Client can always use carrot on a stick, ignoring pig's food state
Added Affects Versions: 15w50a
Added Linked Issues:
is duplicated by
Added Affects Versions: 15w51b
Added Linked Issues:
is duplicated by
Added Linked Issues:
is duplicated by
Confirmed for 15w43c.
Confirmed for 15w44a.
Appears to be fixed for 16w06a (or maybe ealier)