refactored hitbox and placeholders
This commit is contained in:
@@ -79,7 +79,7 @@ public class PixelBlockDatabase {
|
||||
this.insertOrReplacePixelBlock.setDouble(5, pixelBlock.getPixelBlockLocation().getY());
|
||||
this.insertOrReplacePixelBlock.setDouble(6, pixelBlock.getPixelBlockLocation().getZ());
|
||||
|
||||
if (pixelBlock.getLastEntryLocation() != null) {
|
||||
if (pixelBlock.hasLastEntryLocation()) {
|
||||
this.insertOrReplacePixelBlock.setString(7, pixelBlock.getLastEntryLocation().getWorld().getName());
|
||||
this.insertOrReplacePixelBlock.setDouble(8, pixelBlock.getLastEntryLocation().getX());
|
||||
this.insertOrReplacePixelBlock.setDouble(9, pixelBlock.getLastEntryLocation().getY());
|
||||
|
||||
Reference in New Issue
Block a user