mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +00:00
Performance improvements in blocks and Entities
This commit is contained in:
@@ -449,7 +449,7 @@ class Item{
|
||||
self::BOW => new Bow(),
|
||||
);
|
||||
foreach(Block::$list as $id => $class){
|
||||
self::$list[$id] = new ItemBlock($class);
|
||||
self::$list[$id] = new ItemBlock(new $class);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user