Skip to content

Commit

Permalink
modifyblock: don't alter the raw input location
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jul 30, 2022
1 parent e4800ff commit 09c5a30
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -414,10 +414,8 @@ void handleLocation(LocationTag location, int index, List<MaterialTag> materialL
return;
}
}
location = location.getBlockLocation();
World world = location.getWorld();
location.setX(location.getBlockX());
location.setY(location.getBlockY());
location.setZ(location.getBlockZ());
if (source != null) {
Event event;
if (material.getMaterial() == Material.AIR) {
Expand Down

0 comments on commit 09c5a30

Please sign in to comment.