Do not submit active time to LP
This commit is contained in:
parent
d07fade5ab
commit
f9f752cfb2
2 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ yarn_mappings=1.20.1+build.10
|
|||
loader_version=0.16.5
|
||||
|
||||
# Mod Properties
|
||||
mod_version=1.9.2
|
||||
mod_version=1.9.3
|
||||
maven_group=cc.reconnected
|
||||
archives_base_name=rcc-server
|
||||
|
||||
|
|
|
@ -39,10 +39,10 @@ public class AfkTracker {
|
|||
playerStates.remove(handler.getPlayer().getUuid());
|
||||
|
||||
// sync to LP
|
||||
var activeTime = String.valueOf(getActiveTime(handler.getPlayer()));
|
||||
var playerData = PlayerData.getPlayer(handler.getPlayer());
|
||||
//var activeTime = String.valueOf(getActiveTime(handler.getPlayer()));
|
||||
//var playerData = PlayerData.getPlayer(handler.getPlayer());
|
||||
|
||||
playerData.set(PlayerData.KEYS.activeTime, activeTime).join();
|
||||
//playerData.set(PlayerData.KEYS.activeTime, activeTime).join();
|
||||
});
|
||||
|
||||
AttackBlockCallback.EVENT.register((player, world, hand, pos, direction) -> {
|
||||
|
|
Loading…
Reference in a new issue