9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 10:39:07 +00:00

Merge remote-tracking branch 'origin/Development' into Development

This commit is contained in:
Brian Fopiano
2022-12-28 13:23:05 -05:00

View File

@@ -106,6 +106,10 @@ public abstract class EngineAssignedWorldManager extends EngineAssignedComponent
return;
}
if (e.getPlayer().getWorld().equals(getTarget().getWorld().realWorld()) && e.getItem().getType() == Material.ENDER_EYE) {
if (e.getClickedBlock() != null && e.getClickedBlock().getType() == Material.END_PORTAL_FRAME) {
return;
}
KList<Position2> positions = getEngine().getDimension().getStrongholds(getEngine().getSeedManager().getSpawn());
if (positions.isEmpty()) {
return;