geforkt von Mirrors/Paper
Fix return value of Block#applyBoneMeal always being false
Dieser Commit ist enthalten in:
Ursprung
df822c00c9
Commit
4919926f51
@ -558,7 +558,7 @@ public class CraftBlock implements Block {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return result == InteractionResult.SUCCESS && (event == null || !event.isCancelled());
|
return result == InteractionResult.CONSUME && (event == null || !event.isCancelled()); // Paper - CONSUME is returned on success server-side (see BoneMealItem.applyBoneMeal and InteractionResult.sidedSuccess(boolean))
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren