Disabled NPC check in player quit event
This commit is contained in:
parent
2c0d140da9
commit
2c2dd8e0d5
1
.idea/codeStyleSettings.xml
generated
1
.idea/codeStyleSettings.xml
generated
@ -13,5 +13,6 @@
|
||||
</value>
|
||||
</option>
|
||||
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
|
||||
<option name="PREFERRED_PROJECT_CODE_STYLE" value="GoogleStyle" />
|
||||
</component>
|
||||
</project>
|
||||
@ -47,7 +47,7 @@ public class AsynchronousQuit {
|
||||
public void process() {
|
||||
if (player == null)
|
||||
return;
|
||||
if (Utils.isNPC(player) || Utils.isUnrestricted(player)) {
|
||||
if (/*Utils.isNPC(player) || */Utils.isUnrestricted(player)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user