Fixed potential crash

This commit is contained in:
Andrew 2013-11-06 03:55:04 +13:00
parent 941f536f5c
commit 969fd5e9bf

View file

@ -28,7 +28,7 @@ public class LivingWatcher extends FlagWatcher {
}
public LivingWatcher clone() {
LivingWatcher clone = this.clone();
LivingWatcher clone = (LivingWatcher) super.clone();
clone.potionEffects = (HashSet<MobEffect>) potionEffects.clone();
return clone;
}