diff --git a/core/src/main/java/com/seibel/distanthorizons/core/pooling/PhantomArrayListParent.java b/core/src/main/java/com/seibel/distanthorizons/core/pooling/PhantomArrayListParent.java index 7eee7c4c0..d4e0bd4d4 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/pooling/PhantomArrayListParent.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/pooling/PhantomArrayListParent.java @@ -67,10 +67,9 @@ public abstract class PhantomArrayListParent implements AutoCloseable } catch (Exception e) { - LOGGER.error("", e); + LOGGER.error("Unable to close Phantom Array", e); } } - } diff --git a/core/src/main/java/com/seibel/distanthorizons/core/pooling/PhantomArrayListPool.java b/core/src/main/java/com/seibel/distanthorizons/core/pooling/PhantomArrayListPool.java index 4479aebe6..0f0d7728a 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/pooling/PhantomArrayListPool.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/pooling/PhantomArrayListPool.java @@ -409,7 +409,7 @@ public class PhantomArrayListPool { if (checkout == null) { - throw new IllegalArgumentException("Null phantom checkout, memory leak in progress..."); + throw new IllegalArgumentException("Null phantom checkout, object is being closed multiple times."); }