Only 1.16 has golem cracking

This commit is contained in:
libraryaddict 2021-05-15 12:31:11 +12:00
parent 11e7e1238c
commit 44ab504509

View File

@ -50,7 +50,9 @@ public class IronGolemWatcher extends InsentientWatcher {
public IronGolemWatcher clone(Disguise disguise) { public IronGolemWatcher clone(Disguise disguise) {
IronGolemWatcher watcher = (IronGolemWatcher) super.clone(disguise); IronGolemWatcher watcher = (IronGolemWatcher) super.clone(disguise);
if (NmsVersion.v1_16.isSupported()) {
watcher.setCracks(getCracks()); watcher.setCracks(getCracks());
}
return watcher; return watcher;
} }