bakkalmarket7
Demir Madencisi
- En iyi cevaplar
- 0
1 Material material;
if (ProtocolLibrary.getProtocolManager().getMinecraftVersion()
.getVersion().startsWith("1.6.")) {
material = Material.getMaterial(packet.getIntegers().read(3));
} else {
material = packet.getBlocks().read(0);
}
----------------------------------------------------------------------------------------
2 } else if (gui instanceof InputGui) {
this.player.sendBlockChange(this.fakeBlockLoc, Material.COMMAND, (byte) 0);
---------------------------------------------------------------------------------------------
3 if (this.fakeBlockLoc != null) {
Block block = this.fakeBlockLoc.getBlock();
this.player.sendBlockChange(this.fakeBlockLoc, block.getTypeId(), block.getData());
buralarda hata alıyorum . neden .
if (ProtocolLibrary.getProtocolManager().getMinecraftVersion()
.getVersion().startsWith("1.6.")) {
material = Material.getMaterial(packet.getIntegers().read(3));
} else {
material = packet.getBlocks().read(0);
}
----------------------------------------------------------------------------------------
2 } else if (gui instanceof InputGui) {
this.player.sendBlockChange(this.fakeBlockLoc, Material.COMMAND, (byte) 0);
---------------------------------------------------------------------------------------------
3 if (this.fakeBlockLoc != null) {
Block block = this.fakeBlockLoc.getBlock();
this.player.sendBlockChange(this.fakeBlockLoc, block.getTypeId(), block.getData());
buralarda hata alıyorum . neden .