Merge branch 'release/3.3' into release/3.4

This commit is contained in:
Dylan K. Taylor 2018-10-29 12:42:17 +00:00
commit a0eb6e23e5

View File

@ -43,6 +43,15 @@ class ItemTest extends TestCase{
self::assertTrue($item->equals($item2));
}
/**
* Test that same items without NBT are considered equal
*/
public function testItemEqualsNoNbt() : void{
$item1 = ItemFactory::get(Item::DIAMOND_SWORD);
$item2 = clone $item1;
self::assertTrue($item1->equals($item2));
}
/**
* Tests that blocks are considered to be valid registered items
*/