Added block type to playerInteract event in script api
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Dieser Commit ist enthalten in:
Ursprung
4ee93b59dd
Commit
2d5bedc63a
@ -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