geforkt von Mirrors/Paper
Make the dispenser check if the dispensed item has been changed before removing it. Fixes BUKKIT-316
Dieser Commit ist enthalten in:
Ursprung
6a79e506cf
Commit
7586e7168b
@ -132,8 +132,10 @@ public class BlockDispenser extends BlockContainer {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Actually remove the item
|
if (event.getItem().equals(bukkitItem)) {
|
||||||
tileentitydispenser.splitStack(dispenseSlot, 1);
|
// Actually remove the item
|
||||||
|
tileentitydispenser.splitStack(dispenseSlot, 1);
|
||||||
|
}
|
||||||
|
|
||||||
motX = event.getVelocity().getX();
|
motX = event.getVelocity().getX();
|
||||||
motY = event.getVelocity().getY();
|
motY = event.getVelocity().getY();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren