change tools
|
@ -1176,16 +1176,8 @@ public class Client implements IThreadListener {
|
|||
Block block = state.getBlock();
|
||||
if(block != Blocks.air) {
|
||||
desc = block.getDisplay();
|
||||
if(block.getMiningLevel() >= 0)
|
||||
line2 = "Werkzeug: Spitzhacke Level " + (block.getMiningLevel() + 1);
|
||||
else if(block.canAxeHarvest())
|
||||
line2 = "Werkzeug: Axt";
|
||||
else if(block.canShovelHarvest())
|
||||
line2 = "Werkzeug: Schaufel";
|
||||
else if(block.canShearsHarvest())
|
||||
line2 = "Werkzeug: Schere";
|
||||
else if(block.canSwordHarvest())
|
||||
line2 = "Werkzeug: Schwert";
|
||||
if(block.getMiningTool() != null)
|
||||
line2 = "Werkzeug: " + block.getMiningTool().getDisplay() + (block.getMiningTool().isLevelled() ? "Level " + (block.getMiningLevel() + 1) : "");
|
||||
}
|
||||
}
|
||||
else if(this.pointed != null && this.pointed.type == ObjectType.ENTITY && this.pointed.entity != null) {
|
||||
|
|
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.8 KiB |