Dieser Commit ist enthalten in:
Ursprung
bdeb7da4c6
Commit
36e0c4c910
@ -71,6 +71,7 @@ public interface LuaLib {
|
|||||||
}
|
}
|
||||||
|
|
||||||
default LuaTable toPos(Point point) {
|
default LuaTable toPos(Point point) {
|
||||||
|
if (point == null) return LuaTable.tableOf();
|
||||||
return LuaValue.tableOf(new LuaValue[] {
|
return LuaValue.tableOf(new LuaValue[] {
|
||||||
LuaValue.valueOf("x"), LuaValue.valueOf(point.getX()),
|
LuaValue.valueOf("x"), LuaValue.valueOf(point.getX()),
|
||||||
LuaValue.valueOf("y"), LuaValue.valueOf(point.getY()),
|
LuaValue.valueOf("y"), LuaValue.valueOf(point.getY()),
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren