Created
June 11, 2016 06:25
-
-
Save phase/5d00a063a11caeb29b005c08e184c4ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- minecraft/src/net/minecraft/server/management/PlayerInteractionManager.java 2016-06-05 00:35:06.357145211 -0700 | |
| +++ src/main/java/net/minecraft/server/management/PlayerInteractionManager.java 2016-06-10 22:33:59.329798819 -0700 | |
| @@ -197,6 +197,8 @@ | |
| } | |
| public boolean tryHarvestBlock(BlockPos var1) { | |
| + xyz.jadonfowler.fountain.api.Fountain.getServer().getPluginManager().getEventBus() | |
| + .fire(new xyz.jadonfowler.fountain.api.event.world.block.BlockBreakEvent(new xyz.jadonfowler.fountain.world.block.WetBlock(theWorld, var1))); | |
| if(this.gameType.isCreative() && this.thisPlayerMP.getHeldItemMainhand() != null && this.thisPlayerMP.getHeldItemMainhand().getItem() instanceof ItemSword) { | |
| return false; | |
| } else { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment