replace tabs with 4 spaces
This commit is contained in:
@@ -139,14 +139,14 @@ public class ArenaListener
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void onBlockBreak(BlockBreakEvent event) {
|
public void onBlockBreak(BlockBreakEvent event) {
|
||||||
// Check if the block is a sign, it might be a leaderboard
|
// Check if the block is a sign, it might be a leaderboard
|
||||||
if (event.getBlock() instanceof Sign) {
|
if (event.getBlock() instanceof Sign) {
|
||||||
// If the sign is the leaderboard sign, null out the config
|
// If the sign is the leaderboard sign, null out the config
|
||||||
if (event.getBlock().getLocation().equals(arena.getRegion().getLeaderboard())) {
|
if (event.getBlock().getLocation().equals(arena.getRegion().getLeaderboard())) {
|
||||||
arena.getRegion().set("leaderboard", null);
|
arena.getRegion().set("leaderboard", null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!arena.getRegion().contains(event.getBlock().getLocation()))
|
if (!arena.getRegion().contains(event.getBlock().getLocation()))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user