Created
October 9, 2011 05:54
-
-
Save benj02/1273366 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
if(GuiIngame.PlaceBlock) | |
{ | |
for(int a = -GuiConsole.cdx; a<=GuiConsole.cdx; a++) | |
{ | |
for(int b = -GuiConsole.cdy; b<=GuiConsole.cdy; b++) | |
{ | |
for(int c = -GuiConsole.cdz; c<=GuiConsole.cdz; c++) | |
{ | |
if(mc.theWorld.getBlockId(i+a, j+b, k+c) != 0) | |
{ | |
netClientHandler.addToSendQueue(new Packet14BlockDig(0, i+a, j+b, k+c, l)); | |
} | |
} | |
} | |
} | |
} | |
netClientHandler.addToSendQueue(new Packet14BlockDig(0, i, j, k, l)); | |
PlayerControllerTest.func_35644_a(mc, this, i, j, k, l); | |
blockHitDelay = 5; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment