mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-11 20:13:55 +00:00
Mask and Pattern modifications
This commit is contained in:
@ -108,7 +108,7 @@ public class BukkitImageViewer implements ImageViewer {
|
||||
Collection<Entity> entities = world.getNearbyEntities(pos, 0.1, 0.1, 0.1);
|
||||
boolean contains = false;
|
||||
for (Entity ent : entities) {
|
||||
if (ent instanceof ItemFrame && ((ItemFrame) ent).getFacing() == facing) {
|
||||
if (ent instanceof ItemFrame && ent.getFacing() == facing) {
|
||||
ItemFrame itemFrame = (ItemFrame) ent;
|
||||
itemFrame.setRotation(Rotation.NONE);
|
||||
contains = true;
|
||||
@ -188,4 +188,4 @@ public class BukkitImageViewer implements ImageViewer {
|
||||
public void close() throws IOException {
|
||||
last = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user