Added cache and removed imports

This commit is contained in:
Sekwah 2018-07-13 04:06:01 +01:00 committed by Sekwah
parent 32524e6ce9
commit c88b6f3b9d
2 changed files with 2 additions and 4 deletions

View File

@ -2,7 +2,6 @@ package com.sekwah.advancedportals.core.repository;
import com.sekwah.advancedportals.core.entities.PlayerLocation;
import com.sekwah.advancedportals.core.entities.PortalLocation;
import com.sekwah.advancedportals.core.enums.EnumHandSelection;
import com.sekwah.advancedportals.coreconnector.container.PlayerContainer;
import java.util.UUID;

View File

@ -7,7 +7,6 @@ import com.google.common.collect.Table;
import com.google.inject.Singleton;
import com.sekwah.advancedportals.core.entities.PlayerLocation;
import com.sekwah.advancedportals.core.entities.PortalLocation;
import com.sekwah.advancedportals.core.enums.EnumHandSelection;
import com.sekwah.advancedportals.coreconnector.container.PlayerContainer;
import java.util.UUID;
@ -44,8 +43,8 @@ public class PortalTempDataRepositoryImpl implements PortalTempDataRepository {
@Override
public void removeAllSelectedHand(UUID uuid) {
selectedPositions.remove(uuid, EnumHandSelection.LEFTHAND);
selectedPositions.remove(uuid, EnumHandSelection.RIGHTHAND);
selectedPositions.remove(uuid, true);
selectedPositions.remove(uuid, false);
}
@Override