mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
removed 2 useless handlers from Player(they were not sending any data to player), fixed bug 158
This commit is contained in:
parent
a66176b75d
commit
ad17a6880a
6 changed files with 10 additions and 17 deletions
|
|
@ -25,7 +25,7 @@ class FlintSteelItem extends ItemTool{
|
|||
$this->meta++;
|
||||
return true;
|
||||
}else{
|
||||
return parent::useOn($object, $force);
|
||||
return $force ? parent::useOn($object, $force) : $force;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue