Update PlayerQuitAndJoinListener.java

This commit is contained in:
Arcaniax authored and GitHub committed 2020-09-15 14:51:10 +02:00
1 parent 2ad5284a6d
commit 569a1ca42a
1 file changed
+1 -1
@@ -54,7 +54,7 @@ public class PlayerQuitAndJoinListener implements Listener {
if (Settings.fixAttackSpeed) {
attribute.setBaseValue(1024.0D);
} else if (attribute.getBaseValue() == 1024.0D) {
attribute.setBaseValue(attribute.getDefaultValue());
attribute.setBaseValue(4.0D);
}
event.getPlayer().saveData();