Skip to content

Commit

Permalink
Don't init useless deprecated Object in EntityMinecartAbstract (thks to
Browse files Browse the repository at this point in the history
  • Loading branch information
iamnoksio authored Aug 1, 2024
1 parent e7406af commit 00d6432
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ protected boolean g_() {
}

protected void c() {
this.datawatcher.a(17, new Integer(0));
this.datawatcher.a(18, new Integer(1));
this.datawatcher.a(19, new Float(0.0F));
this.datawatcher.a(17, 0);
this.datawatcher.a(18, 1);
this.datawatcher.a(19, 0.0F);
this.datawatcher.a(20, new org.spigotmc.ProtocolData.DualInt(0, 0)); // Spigot - protocol patch
this.datawatcher.a(21, new Integer(6));
this.datawatcher.a(21, 6);
this.datawatcher.a(22, Byte.valueOf((byte) 0));
}

Expand Down

0 comments on commit 00d6432

Please sign in to comment.