mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-11-03 09:29:34 +01:00
It's already clear enough
This commit is contained in:
parent
def5ad31b7
commit
7d17df9545
@ -71,7 +71,7 @@ public class CraftVisibilityManager implements VisibilityManager {
|
|||||||
|
|
||||||
playersVisibilityMap.put(player.getName().toLowerCase(), true);
|
playersVisibilityMap.put(player.getName().toLowerCase(), true);
|
||||||
|
|
||||||
if (wasVisible == false) {
|
if (!wasVisible) {
|
||||||
sendCreatePacketIfNear(player, hologram);
|
sendCreatePacketIfNear(player, hologram);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -90,7 +90,7 @@ public class CraftVisibilityManager implements VisibilityManager {
|
|||||||
|
|
||||||
playersVisibilityMap.put(player.getName().toLowerCase(), false);
|
playersVisibilityMap.put(player.getName().toLowerCase(), false);
|
||||||
|
|
||||||
if (wasVisible == true) {
|
if (wasVisible) {
|
||||||
sendDestroyPacketIfNear(player, hologram);
|
sendDestroyPacketIfNear(player, hologram);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user