Update war/src/main/java/com/tommytony/war/mapper/ZoneVolumeMapper.java

This commit is contained in:
MegaMinerJon 2012-08-09 11:29:43 -07:00
parent cd47e28e9f
commit f14d21a35f

View File

@ -205,7 +205,8 @@ public class ZoneVolumeMapper {
deferred.add(new DeferredBlockReset(x, y, z, diskBlockType, diskBlockData));
} else {
// regular block
worldBlock.setType(Material.getMaterial(diskBlockType));
if(diskBlockType >-1){
worldBlock.setType(Material.getMaterial(diskBlockType))
worldBlock.setData(diskBlockData);
}
noOfResetBlocks++;