Type zum BlockInteract Event im Scriptsystem hinzugefügt #224
@ -125,6 +125,7 @@ public class EventListener implements Listener {
|
|||||||
table.set("blockY", event.getClickedBlock().getY());
|
table.set("blockY", event.getClickedBlock().getY());
|
||||||
table.set("blockZ", event.getClickedBlock().getZ());
|
table.set("blockZ", event.getClickedBlock().getZ());
|
||||||
table.set("blockFace", event.getBlockFace().name());
|
table.set("blockFace", event.getBlockFace().name());
|
||||||
|
table.set("blockType", event.getClickedBlock().getType().name());
|
||||||
} else {
|
} else {
|
||||||
table.set("hasBlock", LuaValue.valueOf(false));
|
table.set("hasBlock", LuaValue.valueOf(false));
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren