mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fixed eating golden apple with full hunger, fixed wrong implementation of enchanted golden apple, close #276
This commit is contained in:
@ -215,6 +215,7 @@ class Item implements ItemIds, \JsonSerializable{
|
||||
self::$list[self::PRISMARINE_CRYSTALS] = PrismarineCrystals::class;
|
||||
self::$list[self::PRISMARINE_SHARD] = PrismarineShard::class;
|
||||
self::$list[self::NETHER_STAR] = NetherStar::class;
|
||||
self::$list[self::ENCHANTED_GOLDEN_APPLE] = GoldenAppleEnchanted::class;
|
||||
|
||||
for($i = 0; $i < 256; ++$i){
|
||||
if(Block::$list[$i] !== null){
|
||||
|
Reference in New Issue
Block a user