geforkt von Mirrors/Paper
Fix detection of missing or invalid tile entities for End portals and gateways
By: Jacob Martin <jjm_223@hotmail.com>
Dieser Commit ist enthalten in:
Ursprung
ba73b2a397
Commit
3770ac47cf
@ -160,7 +160,7 @@
|
|||||||
+ result = fixTileEntity(pos, type, result);
|
+ result = fixTileEntity(pos, type, result);
|
||||||
+ }
|
+ }
|
||||||
+ } else if (type == Blocks.END_PORTAL) {
|
+ } else if (type == Blocks.END_PORTAL) {
|
||||||
+ if (!(result instanceof TileEntityEndGateway)) {
|
+ if (!(result instanceof TileEntityEnderPortal)) {
|
||||||
+ result = fixTileEntity(pos, type, result);
|
+ result = fixTileEntity(pos, type, result);
|
||||||
+ }
|
+ }
|
||||||
+ } else if (type == Blocks.SKULL) {
|
+ } else if (type == Blocks.SKULL) {
|
||||||
@ -187,7 +187,7 @@
|
|||||||
+ if (!(result instanceof TileEntityStructure)) {
|
+ if (!(result instanceof TileEntityStructure)) {
|
||||||
+ result = fixTileEntity(pos, type, result);
|
+ result = fixTileEntity(pos, type, result);
|
||||||
+ }
|
+ }
|
||||||
+ } else if (type == Blocks.END_PORTAL) {
|
+ } else if (type == Blocks.END_GATEWAY) {
|
||||||
+ if (!(result instanceof TileEntityEndGateway)) {
|
+ if (!(result instanceof TileEntityEndGateway)) {
|
||||||
+ result = fixTileEntity(pos, type, result);
|
+ result = fixTileEntity(pos, type, result);
|
||||||
+ }
|
+ }
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren