mirror of
https://github.com/YouHaveTrouble/QuickerStacker.git
synced 2026-05-12 14:16:56 +00:00
go back to interaction and it actually works this time
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
package me.youhavetrouble.quickerstacker;
|
||||
|
||||
|
||||
import com.hypixel.hytale.server.core.modules.interaction.interaction.config.Interaction;
|
||||
import com.hypixel.hytale.server.core.plugin.JavaPlugin;
|
||||
import com.hypixel.hytale.server.core.plugin.JavaPluginInit;
|
||||
import me.youhavetrouble.quickerstacker.system.QuickStackToChestSystem;
|
||||
import me.youhavetrouble.quickerstacker.interaction.QuickStackToChestInteraction;
|
||||
import org.checkerframework.checker.nullness.compatqual.NonNullDecl;
|
||||
|
||||
public class QuickerStacker extends JavaPlugin {
|
||||
@@ -13,8 +14,8 @@ public class QuickerStacker extends JavaPlugin {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void start() {
|
||||
this.getEntityStoreRegistry().registerSystem(new QuickStackToChestSystem());
|
||||
public void setup() {
|
||||
this.getCodecRegistry(Interaction.CODEC).register("Yht_QuickerStacker_QuickStackToChest", QuickStackToChestInteraction.class, QuickStackToChestInteraction.CODEC);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user