Posted January 12, 20196 yr There's anyway to check if PvP is enabled in the world? Searching for a way to check PvP even in teams (/scoreboard teams option <team_name> friendlyFire) EDIT: Found EntityPlayer#canAttackPlayer Edited January 14, 20196 yr by Insane96MCP
January 12, 20196 yr Well, the ScorePlayerTeam class has the getAllowFriendlyFire() method. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.