Bugfix for #2524 (place flag)

This commit is contained in:
mindw0rm 2019-10-10 01:33:37 +02:00
parent e445f96e0c
commit 599ef8aa44

View File

@ -2046,6 +2046,7 @@ import java.util.regex.Pattern;
location = BukkitUtil location = BukkitUtil
.getLocation(block.getRelative(event.getBlockFace()).getLocation()); .getLocation(block.getRelative(event.getBlockFace()).getLocation());
eventType = PlayerBlockEventType.PLACE_BLOCK; eventType = PlayerBlockEventType.PLACE_BLOCK;
lb = new BukkitLazyBlock(new StringPlotBlock(type.toString()));
break; break;
} }
lb = new BukkitLazyBlock(PlotBlock.get(type.toString())); lb = new BukkitLazyBlock(PlotBlock.get(type.toString()));