Cleanup
This commit is contained in:
@@ -352,7 +352,7 @@ public class BlockRenderer{
|
|||||||
var bounds = camera.bounds(Tmp.r3).grow(tilesize * 2f);
|
var bounds = camera.bounds(Tmp.r3).grow(tilesize * 2f);
|
||||||
|
|
||||||
//draw floor lights
|
//draw floor lights
|
||||||
floorTree.intersect(bounds, tile -> lightview.add(tile));
|
floorTree.intersect(bounds, lightview::add);
|
||||||
|
|
||||||
blockTree.intersect(bounds, tile -> {
|
blockTree.intersect(bounds, tile -> {
|
||||||
if(tile.build == null || procLinks.add(tile.build.id)){
|
if(tile.build == null || procLinks.add(tile.build.id)){
|
||||||
|
|||||||
@@ -187,9 +187,7 @@ public class PlayerListFragment{
|
|||||||
ui.showConfirm("@confirm", Core.bundle.format("confirmkick", user.name()), () -> Call.adminRequest(user, AdminAction.kick, null));
|
ui.showConfirm("@confirm", Core.bundle.format("confirmkick", user.name()), () -> Call.adminRequest(user, AdminAction.kick, null));
|
||||||
dialog.hide();
|
dialog.hide();
|
||||||
}).row();
|
}).row();
|
||||||
}
|
|
||||||
|
|
||||||
if(!user.isLocal()){
|
|
||||||
t.button("@player.trace", Icon.zoom, bstyle, () -> {
|
t.button("@player.trace", Icon.zoom, bstyle, () -> {
|
||||||
Call.adminRequest(user, AdminAction.trace, null);
|
Call.adminRequest(user, AdminAction.trace, null);
|
||||||
dialog.hide();
|
dialog.hide();
|
||||||
|
|||||||
Reference in New Issue
Block a user