Changes

5 bytes removed ,  13:32, 20 April 2021
m
no tag check
Line 14: Line 14:  
public void onBlockBreak(final BlockEvent.BreakEvent event)
 
public void onBlockBreak(final BlockEvent.BreakEvent event)
 
     {
 
     {
         if (!world.isClientSide() && event.getState().is(Tags.Blocks.SAND)) // use the base event to get the state and see what it is
+
         if (!world.isClientSide() && event.getState().is(Blocks.SAND)) // use the base event to get the state and see what it is
 
         {
 
         {
 
             event.setExpToDrop(10); // change the amount of experience we'll be dropping
 
             event.setExpToDrop(10); // change the amount of experience we'll be dropping
16

edits