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){
|
private static void printLocation(Location l){
|
||||||
Block block = l.getBlock();
|
Block block = l.getBlock();
|
||||||
double rx = l.getX() - Math.abs(l.getX());
|
double rx = l.getX() - Math.floor(l.getX());
|
||||||
double ry = l.getY() - Math.abs(l.getY());
|
double ry = l.getY() - Math.floor(l.getY());
|
||||||
double rz = l.getZ() - Math.abs(l.getZ());
|
double rz = l.getZ() - Math.floor(l.getZ());
|
||||||
BlockStatus main;
|
BlockStatus main;
|
||||||
BlockStatus upper;
|
BlockStatus upper;
|
||||||
if(ry <= 0.02){
|
if(ry <= 0.02){
|
||||||
@ -237,8 +237,7 @@ public class TNTTracer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void setBlock(Block b){
|
void setBlock(Block b){
|
||||||
b.setType(material);
|
b.setTypeIdAndData(material.getId(), data, true);
|
||||||
b.setData(data);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren