mirror of
https://github.com/BluTac10/Xbox-Neo.git
synced 2026-07-02 15:24:29 +00:00
minecart tnt fix
This commit is contained in:
@@ -595,6 +595,7 @@ void ServerPlayer::die(DamageSource *source)
|
||||
bool ServerPlayer::hurt(DamageSource *dmgSource, float dmg)
|
||||
{
|
||||
if (isInvulnerable()) return false;
|
||||
if (gameMode == nullptr||gameMode->isCreative()) return false;
|
||||
|
||||
// 4J: Not relevant to console servers
|
||||
// Allow falldamage on dedicated pvpservers -- so people cannot cheat their way out of 'fall traps'
|
||||
|
||||
Reference in New Issue
Block a user