mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 20:22:36 +00:00
quick fix : Statement with empty body
This commit is contained in:
1 parent
baa90b8eee
commit
3d6226e7b4
12 files changed
+63
-51
No files matched your search
@@ -314,28 +314,28 @@ public class CartEntity extends Entity implements IInventory, IEntityAdditionalS
|
||||
MinecraftServer var1 = ((WorldServer) this.worldObj).func_73046_m();
|
||||
var2 = this.getMaxInPortalTime();
|
||||
|
||||
if (this.inPortal) {
|
||||
if (var1.getAllowNether()) {
|
||||
/*
|
||||
* if (this.ridingEntity == null && this.timeInPortal++ >=
|
||||
* var2) { this.timeInPortal = var2; this.timeUntilPortal =
|
||||
* this.getPortalCooldown(); byte var3;
|
||||
*
|
||||
* if (this.worldObj.provider.dimensionId == -1) { var3 = 0;
|
||||
* } else { var3 = -1; }
|
||||
*
|
||||
* this.travelToDimension(var3); }
|
||||
*
|
||||
* this.inPortal = false;
|
||||
*/
|
||||
}
|
||||
} else {
|
||||
/*
|
||||
* if (this.timeInPortal > 0) { this.timeInPortal -= 4; }
|
||||
*
|
||||
* if (this.timeInPortal < 0) { this.timeInPortal = 0; }
|
||||
*/
|
||||
}
|
||||
//if (this.inPortal) {
|
||||
// if (var1.getAllowNether()) {
|
||||
// /*
|
||||
// * if (this.ridingEntity == null && this.timeInPortal++ >=
|
||||
// * var2) { this.timeInPortal = var2; this.timeUntilPortal =
|
||||
// * this.getPortalCooldown(); byte var3;
|
||||
// *
|
||||
// * if (this.worldObj.provider.dimensionId == -1) { var3 = 0;
|
||||
// * } else { var3 = -1; }
|
||||
// *
|
||||
// * this.travelToDimension(var3); }
|
||||
// *
|
||||
// * this.inPortal = false;
|
||||
// */
|
||||
// }
|
||||
//} else {
|
||||
// /*
|
||||
// * if (this.timeInPortal > 0) { this.timeInPortal -= 4; }
|
||||
// *
|
||||
// * if (this.timeInPortal < 0) { this.timeInPortal = 0; }
|
||||
// */
|
||||
//}
|
||||
|
||||
if (this.timeUntilPortal > 0) {
|
||||
--this.timeUntilPortal;
|
||||
|
||||
Reference in new issue
Block a user