Fixed potential crash
This commit is contained in:
parent
941f536f5c
commit
969fd5e9bf
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user