Mirror von
https://github.com/Moulberry/AxiomPaperPlugin.git
synchronisiert 2024-09-29 07:50:05 +02:00
Fix Block Entity protocol
Dieser Commit ist enthalten in:
Ursprung
6acfa7cf2b
Commit
a720c1da4b
@ -1,5 +1,6 @@
|
|||||||
package com.moulberry.axiom;
|
package com.moulberry.axiom;
|
||||||
|
|
||||||
|
import com.moulberry.axiom.buffer.CompressedBlockEntity;
|
||||||
import com.moulberry.axiom.packet.*;
|
import com.moulberry.axiom.packet.*;
|
||||||
import io.netty.buffer.Unpooled;
|
import io.netty.buffer.Unpooled;
|
||||||
import io.netty.channel.Channel;
|
import io.netty.channel.Channel;
|
||||||
@ -29,12 +30,14 @@ public class AxiomPaper extends JavaPlugin implements Listener {
|
|||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
Bukkit.getPluginManager().registerEvents(this, this);
|
Bukkit.getPluginManager().registerEvents(this, this);
|
||||||
|
CompressedBlockEntity.initialize(this);
|
||||||
|
|
||||||
Messenger msg = Bukkit.getMessenger();
|
Messenger msg = Bukkit.getMessenger();
|
||||||
|
|
||||||
msg.registerOutgoingPluginChannel(this, "axiom:enable");
|
msg.registerOutgoingPluginChannel(this, "axiom:enable");
|
||||||
msg.registerOutgoingPluginChannel(this, "axiom:initialize_hotbars");
|
msg.registerOutgoingPluginChannel(this, "axiom:initialize_hotbars");
|
||||||
msg.registerOutgoingPluginChannel(this, "axiom:set_editor_views");
|
msg.registerOutgoingPluginChannel(this, "axiom:set_editor_views");
|
||||||
|
msg.registerOutgoingPluginChannel(this, "axiom:block_entities");
|
||||||
|
|
||||||
final Set<UUID> activeAxiomPlayers = Collections.newSetFromMap(new ConcurrentHashMap<>());
|
final Set<UUID> activeAxiomPlayers = Collections.newSetFromMap(new ConcurrentHashMap<>());
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren