Implemented food and hunger

This commit is contained in:
PEMapModder
2016-02-10 22:49:48 +08:00
parent 1082e32fd7
commit 329a525ea1
47 changed files with 724 additions and 323 deletions

View File

@ -31,8 +31,8 @@ class EnchantmentEntry{
/**
* @param Enchantment[] $enchantments
* @param $cost
* @param $randomName
* @param number $cost
* @param string $randomName
*/
public function __construct(array $enchantments, $cost, $randomName){
$this->enchantments = $enchantments;

View File

@ -32,7 +32,7 @@ class EnchantmentList{
}
/**
* @param $slot
* @param $slot
* @param EnchantmentEntry $entry
*/
public function setSlot($slot, EnchantmentEntry $entry){