Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Commit

Permalink
Small patch for latest Denizen Core
Browse files Browse the repository at this point in the history
  • Loading branch information
Morphan1 committed Feb 25, 2019
1 parent 1bec416 commit 51445b5
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/main/java/space/morphanone/webizen/fake/FakeScriptEntry.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package space.morphanone.webizen.fake;

import net.aufdemrand.denizencore.exceptions.ScriptEntryCreationException;
import net.aufdemrand.denizencore.scripts.ScriptEntry;
import net.aufdemrand.denizencore.utilities.debugging.dB;

public class FakeScriptEntry extends ScriptEntry {

public FakeScriptEntry() throws ScriptEntryCreationException {
public FakeScriptEntry() {
super("FAKE_CMD", null, null);
setSendingQueue(new FakeScriptQueue());
}
Expand All @@ -17,11 +15,6 @@ public FakeScriptQueue getResidingQueue() {
}

public static FakeScriptEntry generate() {
try {
return new FakeScriptEntry();
} catch (ScriptEntryCreationException e) {
dB.echoError(e);
return null;
}
return new FakeScriptEntry();
}
}

0 comments on commit 51445b5

Please sign in to comment.