TNTTracer-halfslab fix
Dieser Commit ist enthalten in:
Ursprung
0046a84cde
Commit
5f8a740fe9
@ -112,9 +112,9 @@ public class TNTTracer {
|
||||
}
|
||||
private static void printLocation(Location l){
|
||||
Block block = l.getBlock();
|
||||
double rx = l.getX() - Math.abs(l.getX());
|
||||
double ry = l.getY() - Math.abs(l.getY());
|
||||
double rz = l.getZ() - Math.abs(l.getZ());
|
||||
double rx = l.getX() - Math.floor(l.getX());
|
||||
double ry = l.getY() - Math.floor(l.getY());
|
||||
double rz = l.getZ() - Math.floor(l.getZ());
|
||||
BlockStatus main;
|
||||
BlockStatus upper;
|
||||
if(ry <= 0.02){
|
||||
@ -237,8 +237,7 @@ public class TNTTracer {
|
||||
}
|
||||
|
||||
void setBlock(Block b){
|
||||
b.setType(material);
|
||||
b.setData(data);
|
||||
b.setTypeIdAndData(material.getId(), data, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren