Skip to content

Commit

Permalink
Merge pull request #40 from TheFluffyWalrus/develop
Browse files Browse the repository at this point in the history
Update Build.java to include daylight sensors in block state protection.
  • Loading branch information
Battelman2 committed Mar 31, 2016
2 parents 2147f1c + c23770d commit bc2f333
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/com/jcdesimp/landlord/landFlags/Build.java
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@ public void CropTrampleOrFireCharge(PlayerInteractEvent event) {
@EventHandler(priority = EventPriority.HIGH)
public void protectBlockStates(PlayerInteractEvent event) {
Material[] blockedItems = {Material.NOTE_BLOCK, Material.REDSTONE_COMPARATOR_OFF, Material.REDSTONE_COMPARATOR_ON,
Material.DIODE_BLOCK_OFF, Material.DIODE_BLOCK_ON, Material.FLOWER_POT, Material.CAKE_BLOCK};
Material.DIODE_BLOCK_OFF, Material.DIODE_BLOCK_ON, Material.FLOWER_POT, Material.CAKE_BLOCK, Material.DAYLIGHT_DETECTOR
, Material.DAYLIGHT_DETECTOR_INVERTED};
if (event.getClickedBlock() == null) {
return;
}
Expand Down

0 comments on commit bc2f333

Please sign in to comment.