Fix hiding player attacks in client, add option to hide cast as well (#896)

Tiny bit of refactoring as well
This commit is contained in:
Lucwousin
2019-07-05 23:10:02 +02:00
committed by Kyleeld
parent a8cf657e4c
commit 2367f7ee18
19 changed files with 187 additions and 69 deletions

View File

@@ -2156,7 +2156,7 @@ public final class Client extends GameShell implements Usernamed {
for (var21 = 0; var21 < 104; ++var21) {
for (var56 = 0; var56 < 104; ++var56) {
TilePaint.method3061(var21, var56);
TilePaint.updateItemPile(var21, var56);
}
}
@@ -5311,7 +5311,7 @@ public final class Client extends GameShell implements Usernamed {
for (var6 = Canvas.field95; var6 < Canvas.field95 + 8; ++var6) {
if (groundItems[SoundSystem.plane][var37][var6] != null) {
groundItems[SoundSystem.plane][var37][var6] = null;
TilePaint.method3061(var37, var6);
TilePaint.updateItemPile(var37, var6);
}
}
}