mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 11:03:43 +01:00 
			
		
		
		
	Applying a temporary patch to stop the wrong sand and gravel from being flagged as touched by players.
This commit is contained in:
		@@ -78,11 +78,14 @@ public class BlockListener implements Listener {
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * Monitor BlockPhysics events.
 | 
					     * Monitor BlockPhysics events.
 | 
				
			||||||
     *
 | 
					     *
 | 
				
			||||||
     * @param event The event to monitor
 | 
					     * @param event The event to monitor
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
 | 
					     // Disabled until a better patch can be applied. This does nothing but flag the wrong block.
 | 
				
			||||||
 | 
					/*
 | 
				
			||||||
    @EventHandler(priority = EventPriority.MONITOR)
 | 
					    @EventHandler(priority = EventPriority.MONITOR)
 | 
				
			||||||
    public void onBlockPhysics(BlockPhysicsEvent event) {
 | 
					    public void onBlockPhysics(BlockPhysicsEvent event) {
 | 
				
			||||||
        //TODO: Figure out how to REMOVE metadata from the location the sand/gravel fell from.
 | 
					        //TODO: Figure out how to REMOVE metadata from the location the sand/gravel fell from.
 | 
				
			||||||
@@ -96,6 +99,7 @@ public class BlockListener implements Listener {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * Monitor BlockPistonRetract events.
 | 
					     * Monitor BlockPistonRetract events.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user