Fix books changing metadata by serialization (#165)

Fixes #164
This commit is contained in:
Steven M 2018-07-26 17:35:53 +02:00 committed by EpicEric
parent 148295ddb4
commit ff5c3cdd45

View File

@ -63,6 +63,9 @@ public class Utils {
itemStack1.setItemMeta(bookMeta1);
itemStack2.setItemMeta(bookMeta2);
itemStack1 = decode(encode(itemStack1));
itemStack2 = decode(encode(itemStack2));
}
return itemStack1.isSimilar(itemStack2);