Fixed book meta for 1.10

This commit is contained in:
Eric 2016-11-18 13:39:59 +01:00
parent 8ecd53e78a
commit 068edfa9ff

View File

@ -100,8 +100,8 @@ public class Utils {
similar &= (generation1 == generation2); similar &= (generation1 == generation2);
} else if (getMajorVersion() >= 10) { } else if (getMajorVersion() >= 10) {
if (!bookMeta1.hasGeneration()) bookMeta1.setGeneration(BookMeta.Generation.ORIGINAL); if (bookMeta1.getGeneration() == null) bookMeta1.setGeneration(BookMeta.Generation.ORIGINAL);
if (!bookMeta2.hasGeneration()) bookMeta2.setGeneration(BookMeta.Generation.ORIGINAL); if (bookMeta2.getGeneration() == null) bookMeta2.setGeneration(BookMeta.Generation.ORIGINAL);
similar &= (bookMeta1.getGeneration() == bookMeta2.getGeneration()); similar &= (bookMeta1.getGeneration() == bookMeta2.getGeneration());
} }