We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fcbac0 commit 4d484a2Copy full SHA for 4d484a2
src/main/java/org/mctourney/autoreferee/AutoRefMatch.java
@@ -2339,8 +2339,9 @@ protected void _startMatch()
2339
2340
// reset enderchests and bed spawns
2341
for (AutoRefPlayer apl : getPlayers()) {
2342
- PlayerUtil.clearEnderChest(apl.getPlayer());
2343
- PlayerUtil.clearBedSpawn(apl.getPlayer());
+ Player player = apl.getPlayer();
+ PlayerUtil.clearEnderChest(player);
2344
+ PlayerUtil.clearBedSpawn(player);
2345
}
2346
2347
// set teams as started
0 commit comments