diff --git a/README.md b/README.md index f95a0386..5e824bb7 100644 --- a/README.md +++ b/README.md @@ -20,10 +20,7 @@ A Bukkit server implementation utilizing Mixin. * Download the jar from [release page](https://github.com/IzzelAliz/Arclight/releases) or build server. (see the table above) -* There are 2 ways to start Arclight: - * (**Recommended**) Launch with command `java -jar arclight-forge--.jar nogui`. The `nogui` argument will disable the - server control panel. - * Drop the downloaded jar into `mods` folder and start a forge server. +* Launch with command `java -jar arclight-forge--.jar nogui`. The `nogui` argument will disable the server control panel. ## Support diff --git a/arclight-common/src/main/java/io/izzel/arclight/common/mixin/bukkit/CraftHumanEntityMixin.java b/arclight-common/src/main/java/io/izzel/arclight/common/mixin/bukkit/CraftHumanEntityMixin.java index fc5a5337..25020337 100644 --- a/arclight-common/src/main/java/io/izzel/arclight/common/mixin/bukkit/CraftHumanEntityMixin.java +++ b/arclight-common/src/main/java/io/izzel/arclight/common/mixin/bukkit/CraftHumanEntityMixin.java @@ -7,13 +7,10 @@ import net.minecraft.world.entity.player.Player; import org.bukkit.craftbukkit.v.CraftServer; import org.bukkit.craftbukkit.v.entity.CraftEntity; import org.bukkit.craftbukkit.v.entity.CraftHumanEntity; -import org.bukkit.craftbukkit.v.inventory.CraftInventory; import org.bukkit.craftbukkit.v.inventory.CraftInventoryPlayer; import org.bukkit.permissions.PermissibleBase; import org.bukkit.permissions.ServerOperator; -import org.spongepowered.asm.mixin.Final; import org.spongepowered.asm.mixin.Mixin; -import org.spongepowered.asm.mixin.Mutable; import org.spongepowered.asm.mixin.Shadow; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Redirect; @@ -23,7 +20,6 @@ public abstract class CraftHumanEntityMixin extends CraftEntity { // @formatter:off @Shadow private CraftInventoryPlayer inventory; - @Shadow @Final @Mutable private CraftInventory enderChest; // @formatter:on public CraftHumanEntityMixin(CraftServer server, Entity entity) { @@ -43,6 +39,5 @@ public abstract class CraftHumanEntityMixin extends CraftEntity { public void setHandle(Entity entity) { super.setHandle(entity); this.inventory = new CraftInventoryPlayer(((Player) entity).getInventory()); - this.enderChest = new CraftInventory(((Player) entity).getEnderChestInventory()); } }