mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-23 03:06:29 +01:00
minecart tnt fix
This commit is contained in:
1 parent
a282314267
commit
6fe251b2ec
3 files changed
+5
-4
No files matched your search
@@ -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