Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
649bfd7313 | ||
|
0e9ca2f9b1 |
@ -1,9 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<classpath>
|
<classpath>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
|
||||||
<classpathentry kind="src" path="src"/>
|
<classpathentry kind="src" path="src"/>
|
||||||
<classpathentry kind="src" path="resources"/>
|
<classpathentry kind="src" path="resources"/>
|
||||||
<classpathentry kind="lib" path="D:/Dropbox/Pandacube/Dev/spigot-1.14.3.jar"/>
|
|
||||||
<classpathentry kind="lib" path="lib"/>
|
<classpathentry kind="lib" path="lib"/>
|
||||||
|
<classpathentry kind="lib" path="C:/Users/Marc/.m2/repository/com/destroystokyo/paper/paper/1.16.3-R0.1-SNAPSHOT/paper-1.16.3-R0.1-SNAPSHOT.jar"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk-13.0.2"/>
|
||||||
<classpathentry kind="output" path="bin"/>
|
<classpathentry kind="output" path="bin"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
15
.settings/org.eclipse.jdt.core.prefs
Normal file
15
.settings/org.eclipse.jdt.core.prefs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
eclipse.preferences.version=1
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||||
|
org.eclipse.jdt.core.compiler.compliance=11
|
||||||
|
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||||
|
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||||
|
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||||
|
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||||
|
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
|
||||||
|
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||||
|
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
|
||||||
|
org.eclipse.jdt.core.compiler.release=disabled
|
||||||
|
org.eclipse.jdt.core.compiler.source=11
|
@ -2,6 +2,7 @@ name: DiscoSheep
|
|||||||
main: me.cwang.discosheep.DiscoSheep
|
main: me.cwang.discosheep.DiscoSheep
|
||||||
authors: [Gibstick, RangerMauve]
|
authors: [Gibstick, RangerMauve]
|
||||||
version: 2.0
|
version: 2.0
|
||||||
|
api-version: 1.16
|
||||||
commands:
|
commands:
|
||||||
ds:
|
ds:
|
||||||
description: "Main DiscoSheep command"
|
description: "Main DiscoSheep command"
|
||||||
|
@ -41,7 +41,6 @@ public final class DiscoSheep extends JavaPlugin {
|
|||||||
EntityType.MAGMA_CUBE,
|
EntityType.MAGMA_CUBE,
|
||||||
EntityType.MUSHROOM_COW,
|
EntityType.MUSHROOM_COW,
|
||||||
EntityType.OCELOT,
|
EntityType.OCELOT,
|
||||||
EntityType.PIG_ZOMBIE,
|
|
||||||
EntityType.RABBIT,
|
EntityType.RABBIT,
|
||||||
EntityType.SKELETON,
|
EntityType.SKELETON,
|
||||||
EntityType.SLIME,
|
EntityType.SLIME,
|
||||||
|
@ -50,7 +50,7 @@ public class PartyBuilder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public PartyBuilder period(int period) throws IllegalArgumentException {
|
public PartyBuilder period(int period) throws IllegalArgumentException {
|
||||||
if (period < 0 || period > AbstractParty.maxPeriod) {
|
if (period <= 0 || period > AbstractParty.maxPeriod) {
|
||||||
throw new IllegalArgumentException("invalid period");
|
throw new IllegalArgumentException("invalid period");
|
||||||
}
|
}
|
||||||
this.period = period;
|
this.period = period;
|
||||||
|
Loading…
Reference in New Issue
Block a user