mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-10-05 05:17:27 +02:00
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