@@ -17,7 +17,7 @@
|
||||
this.gateways.addAll((Collection) enderdragonbattle_a.gateways.orElseGet(() -> {
|
||||
ObjectArrayList<Integer> objectarraylist = new ObjectArrayList(ContiguousSet.create(Range.closedOpen(0, 20), DiscreteDomain.integers()));
|
||||
|
||||
@@ -505,7 +505,7 @@
|
||||
@@ -510,7 +510,7 @@
|
||||
return this.previouslyKilled;
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
if (this.dragonKilled && this.respawnStage == null) {
|
||||
BlockPosition blockposition = this.portalLocation;
|
||||
|
||||
@@ -532,19 +532,19 @@
|
||||
@@ -537,19 +537,19 @@
|
||||
List<EntityEnderCrystal> list1 = this.level.getEntitiesOfClass(EntityEnderCrystal.class, new AxisAlignedBB(blockposition1.relative(enumdirection, 2)));
|
||||
|
||||
if (list1.isEmpty()) {
|
||||
@@ -45,12 +45,12 @@
|
||||
+ return false; // CraftBukkit - return value
|
||||
}
|
||||
|
||||
- private void respawnDragon(List<EntityEnderCrystal> list) {
|
||||
+ public boolean respawnDragon(List<EntityEnderCrystal> list) { // PAIL private -> public // CraftBukkit - return boolean
|
||||
- public void respawnDragon(List<EntityEnderCrystal> list) {
|
||||
+ public boolean respawnDragon(List<EntityEnderCrystal> list) { // CraftBukkit - return boolean
|
||||
if (this.dragonKilled && this.respawnStage == null) {
|
||||
for (ShapeDetector.ShapeDetectorCollection shapedetector_shapedetectorcollection = this.findExitPortal(); shapedetector_shapedetectorcollection != null; shapedetector_shapedetectorcollection = this.findExitPortal()) {
|
||||
for (int i = 0; i < this.exitPortalPattern.getWidth(); ++i) {
|
||||
@@ -564,8 +564,9 @@
|
||||
@@ -569,8 +569,9 @@
|
||||
this.respawnTime = 0;
|
||||
this.spawnExitPortal(false);
|
||||
this.respawnCrystals = list;
|
||||
|
||||
Reference in New Issue
Block a user