mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Rename two misleadingly-named functions
This commit is contained in:
@ -555,7 +555,7 @@ class BlockFactory{
|
||||
$v = clone $block;
|
||||
try{
|
||||
$v->readStateFromData($id, $m & $stateMask);
|
||||
if($v->getDamage() !== $m){
|
||||
if($v->getMeta() !== $m){
|
||||
throw new InvalidBlockStateException("Corrupted meta"); //don't register anything that isn't the same when we read it back again
|
||||
}
|
||||
}catch(InvalidBlockStateException $e){ //invalid property combination
|
||||
|
Reference in New Issue
Block a user