cleanup of scarpet dependencies
This commit is contained in:
1 parent
fd93785fec
commit
75d94b0570
71 files changed
+1623
-1014
No files matched your search
@@ -1,6 +1,6 @@
|
||||
package carpet.script.value;
|
||||
|
||||
import carpet.CarpetSettings;
|
||||
import carpet.script.CarpetScriptServer;
|
||||
import carpet.script.exception.InternalExpressionException;
|
||||
import com.google.gson.JsonElement;
|
||||
import com.google.gson.JsonPrimitive;
|
||||
@@ -46,7 +46,7 @@ public abstract class Value implements Comparable<Value>, Cloneable
|
||||
catch (final CloneNotSupportedException e)
|
||||
{
|
||||
// should not happen
|
||||
CarpetSettings.LOG.error("Failed to clone variable", e);
|
||||
CarpetScriptServer.LOG.error("Failed to clone variable", e);
|
||||
throw new InternalExpressionException("Variable of type " + getTypeString() + " is not cloneable. Tell gnembon about it, this shoudn't happen");
|
||||
}
|
||||
copy.boundVariable = value;
|
||||
|
||||
Reference in new issue
Block a user