1.17: TechReborn compiles and runs, big thanks to @petabyteboy

Co-authored-by: Milan Pässler <milan@petabyte.dev>
This commit is contained in:
modmuss50 2021-05-29 13:19:29 +01:00
parent c661de5254
commit b33f4be5f4
212 changed files with 952 additions and 2025 deletions

View file

@ -60,9 +60,9 @@ public class EntityNukePrimed extends TntEntity {
this.setVelocity(this.getVelocity().multiply(0.7D, -0.5D, 0.7D));
}
setFuse(getFuseTimer() - 1);
if (this.getFuseTimer() <= 0) {
this.remove();
setFuse(getFuse() - 1);
if (this.getFuse() <= 0) {
this.remove(RemovalReason.KILLED);
if (!this.world.isClient) {
this.explodeNuke();
}