1
0
Fork 0
This commit is contained in:
Sen 2025-07-16 16:01:56 +02:00
parent 5a69c0545b
commit cf37d48292
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
122 changed files with 633 additions and 2384 deletions

View file

@ -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
{