clanup
This commit is contained in:
parent
5a69c0545b
commit
cf37d48292
122 changed files with 633 additions and 2384 deletions
|
@ -1082,7 +1082,7 @@ public class Client implements IThreadListener {
|
|||
if(this.pointed != null && this.pointed.block != null) {
|
||||
State state = this.world.getState(this.pointed.block);
|
||||
if(state.getBlock() != Blocks.air) {
|
||||
Item item = state.getBlock().getItem(this.world, this.pointed.block);
|
||||
Item item = state.getBlock().getItem();
|
||||
if(item != null) {
|
||||
GL11.glPopMatrix();
|
||||
GL11.glPushMatrix();
|
||||
|
@ -1450,14 +1450,12 @@ public class Client implements IThreadListener {
|
|||
return;
|
||||
}
|
||||
|
||||
item = block.getItem(this.world, blockpos);
|
||||
item = block.getItem();
|
||||
|
||||
if (item == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Block block1 = item instanceof ItemBlock && !block.isPickStrict() ? item.getBlock() : block;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue