mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-07 11:20:32 +01:00
Remove BlockSafety Spam, remove useless class.
This commit is contained in:
parent
ad3643758d
commit
c81dcb227c
@ -43,25 +43,20 @@ public class BlockSafety {
|
||||
downOne.setY(downOne.getY() - 1);
|
||||
|
||||
if (this.isSolidBlock(actual.getBlock().getType()) || this.isSolidBlock(upOne.getBlock().getType())) {
|
||||
System.out.print("On or Above is not safe");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (downOne.getBlock().getType() == Material.LAVA || downOne.getBlock().getType() == Material.STATIONARY_LAVA) {
|
||||
System.out.print("Lava Below");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (downOne.getBlock().getType() == Material.FIRE) {
|
||||
System.out.print("Fire Below");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (blockIsAboveAir(actual)) {
|
||||
System.out.print("Above Air");
|
||||
return false;
|
||||
}
|
||||
System.out.print("All Good!");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1,5 +0,0 @@
|
||||
package com.onarandombox.utils;
|
||||
|
||||
public class CommandCatcher extends Thread {
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user