From 969fd5e9bfd883c659746ef0caebae8785351a12 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 6 Nov 2013 03:55:04 +1300 Subject: [PATCH] Fixed potential crash --- .../disguise/disguisetypes/watchers/LivingWatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/disguisetypes/watchers/LivingWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/watchers/LivingWatcher.java index d3d2c469..fe7b8892 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/watchers/LivingWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/watchers/LivingWatcher.java @@ -28,7 +28,7 @@ public class LivingWatcher extends FlagWatcher { } public LivingWatcher clone() { - LivingWatcher clone = this.clone(); + LivingWatcher clone = (LivingWatcher) super.clone(); clone.potionEffects = (HashSet) potionEffects.clone(); return clone; }