SteamWar/BauSystem
Archiviert
13
0

TNTTracer-halfslab fix

Dieser Commit ist enthalten in:
Lixfel 2019-09-12 06:56:40 +02:00
Ursprung 0046a84cde
Commit 5f8a740fe9

Datei anzeigen

@ -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);
}
}